package com.findFish.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 机器鱼状态对象 robot_fish_status
 * 
 * @author admin
 * @date 2025-03-31
 */
public class RobotFishStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 状态ID */
    private Long id;

    /** 机器鱼ID */
    @Excel(name = "机器鱼ID")
    private Long robotFishId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdate;

    /** 电池电量 */
    @Excel(name = "电池电量")
    private Long batteryLevel;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRobotFishId(Long robotFishId) 
    {
        this.robotFishId = robotFishId;
    }

    public Long getRobotFishId() 
    {
        return robotFishId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setLastUpdate(Date lastUpdate) 
    {
        this.lastUpdate = lastUpdate;
    }

    public Date getLastUpdate() 
    {
        return lastUpdate;
    }

    public void setBatteryLevel(Long batteryLevel) 
    {
        this.batteryLevel = batteryLevel;
    }

    public Long getBatteryLevel() 
    {
        return batteryLevel;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("robotFishId", getRobotFishId())
            .append("status", getStatus())
            .append("lastUpdate", getLastUpdate())
            .append("batteryLevel", getBatteryLevel())
            .append("notes", getNotes())
            .toString();
    }
}
